home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / dos / packer / unzip41 / atari / makefile.st next >
Encoding:
Makefile  |  1991-01-21  |  1.1 KB  |  55 lines

  1. #  Makefile.st    Makefile for UnZip 4.0,
  2. #  using Turbo C 2.0 for the Atari ST and
  3. #  make from the Mark Williams C 3.9 (sorry for that mixture)
  4. #
  5.  
  6. # UPPERCASE file names facilitate TD's understanding of modules.
  7. .SUFFIXES: .o .O .c .C .s
  8.  
  9. DISK    = E:
  10. #####################
  11. # MACRO DEFINITIONS #
  12. #####################
  13.  
  14. CC    = tcc
  15. #CFLAGS    = -DATARI_ST=1 -Y -I=$(DISK)\tc\include
  16. CFLAGS    = -DATARI_ST=1 -I=$(DISK)\tc\include
  17. #LFLAGS    = -L -Y
  18. LFLAGS    =
  19. LIB    = $(DISK)\tc\lib
  20. LD    = tlink
  21.  
  22. OBJS = unzip.o file_io.o mapname.o match.o misc.o\
  23.        unimplod.o unreduce.o unshrink.o
  24.  
  25.  
  26. ###############################################
  27. # BASIC COMPILE INSTRUCTIONS AND DEPENDENCIES #
  28. ###############################################
  29.  
  30. ALL    : unzip.prg
  31.     echo done
  32.  
  33. unzip.o:      unzip.c unzip.h
  34.  
  35. file_io.o:    file_io.c unzip.h
  36.  
  37. mapname.o:    mapname.c unzip.h
  38.  
  39. match.o:      match.c unzip.h
  40.  
  41. misc.o:       misc.c unzip.h
  42.  
  43. unimplod.o:   unimplod.c unzip.h
  44.  
  45. unreduce.o:   unreduce.c unzip.h
  46.  
  47. unshrink.o:   unshrink.c unzip.h
  48.  
  49. unzip.prg:     $(OBJS)
  50.     tlink -O=$@ $(LFLAGS) -S=4096 -C=tlink.opt
  51.  
  52. .c.o:
  53.     tcc $(CFLAGS) $<
  54.  
  55.